/*
-----------------------------------------------------------------------------
This source file is part of Labor3D
(Labor 3D Graphics Engine)

Copyright (c) 2011-2020 Rock Mao
* creator : Rock Mao
* created : 2011-10-13   21:45
* filename: LaborD3D11EngineDll.cpp

-----------------------------------------------------------------------------
*/
#include "stdafx.h"
#include "LaborD3D11Def.h"
#include "LaborD3D11Plugin.h"
#include "LaborCore.h"
NAMESPACE_LABOR3D_BEGIN

CLD3D11Plugin* plugin;

extern "C" void LABORD3D11_API dllStartPlugin(void) throw()
{
	plugin = new CLD3D11Plugin();
	GetLaborCore()->installPlugin(plugin);
}

extern "C" void LABORD3D11_API dllStopPlugin(void)
{
	GetLaborCore()->uninstallPlugin(plugin);

	delete plugin;
}

NAMESPACE_LABOR3D_END
